package c.c.b.a.b.a;

import c.b.a.a.a;

/* compiled from: NamedRunnable */
public abstract class d implements Runnable {
    public final String a;

    public d(String str, Object... objArr) {
        this.a = e.i(str, objArr);
    }

    public abstract void a();

    public final void run() {
        String name = Thread.currentThread().getName();
        Thread currentThread = Thread.currentThread();
        StringBuilder g = a.g("tt_pangle_thread_");
        g.append(this.a);
        currentThread.setName(g.toString());
        try {
            a();
        } finally {
            Thread.currentThread().setName(name);
        }
    }
}
